package samsung.sds.systemMonitor.exceptionMonitor.service;

import java.util.List;
import javax.servlet.http.HttpServletRequest;
import samsung.sds.system.common.baseQuery.BaseServiceInterface;
import samsung.sds.systemMonitor.exceptionMonitor.model.ExceptionEntity;

/**
 *  @author deng1.pan
 *  @createDate 2016-02-03
 *  
 *  异常日志模块的service接口
 */
public interface ExceptionMonitorService extends BaseServiceInterface<ExceptionEntity> { 
	/**
	 * 将捕获到的异常封装成实体
	 * @param e
	 * @param request
	 * @return
	 */
	public ExceptionEntity packageException(Throwable e,HttpServletRequest request);
	
	/**
	 * 获取expName和系统当前时间
	 * @return
	 */
	public List<String> getQueryParam();
}
